//
//  PS_WangDaiListTableViewCell.m
//  FinanceSupermarket
//
//  Created by 丹丹 on 2018/12/13.
//  Copyright © 2018年 xuezi. All rights reserved.
//

#import "PS_WangDaiListTableViewCell.h"

@implementation PS_WangDaiListTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setDataForCell:(PS_WangDaiModel *)model{
    
    NSURL * url = [NSURL URLWithString:model.logo];
    [_logoImage sd_setImageWithURL:url];
    _nameLabel.text = model.name;
    _bankLabel.text = model.bank;
    _c_nianhuaLabel.text = [NSString stringWithFormat:@"%@-%@%@",model.min_nianhua,model.max_nianhua,@"%"];
    _c_stFanLiLabel.text = model.rebate_description;
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
